<!--
  @author yangjiangming
  @date 2018/11/26 10:00
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!-- 精准查询 -->
<zmn th:fragment="precisionQuery">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">用户电话：</label>
            <div class="layui-input-inline">
                <!--<div th:replace="common/listQueryItemTmpl :: inputForConcatPhone"></div>-->
                <input class="layui-input concat-phone" th:value="${query.concatPhone}" type="text" name="concatPhone" placeholder="联系电话支持后四位查询" autocomplete="off">
                <input class="layui-input crypto-phone layui-hide" type="text" name="cryptoPhone" th:value="${query.cryptoPhone}">
            </div>
            <label class="layui-form-label">工单号：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: inputForCode"></div>
            </div>
            <label class="layui-form-label">源单号：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: inputForOriginalId"></div>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">渠道单号：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: inputForOuterId"></div>
            </div>
            <label class="layui-form-label">电子保单：</label>
            <div class="layui-input-inline">
                <div th:replace="common/listQueryItemTmpl :: inputForWarrantyCode"></div>
            </div>

            <div class="layui-input-inline inline-btn">
                <div th:replace="common/listQueryItemTmpl :: buttonForSearch"></div>
                <div th:replace="common/listQueryItemTmpl :: buttonForClean"></div>
            </div>

        </div>
    </div>

</zmn>

<!-- 我录入的 -->
<th:block th:fragment="myInputQuery">
    <div class="layui-form-item">
        <!-- 下单时间 -->
        <div th:replace="~{common/listQueryItemTmpl :: timePickerMinNoItem('下单时间', 'receiveTime', true, ${startTime}, ${endTime}, ${minTime})}"></div>

        <div class="layui-input-inline inline-btn">
            <div th:replace="common/listQueryItemTmpl :: buttonForSearch"></div>
            <div th:replace="common/listQueryItemTmpl :: buttonForClean"></div>
        </div>

    </div>
</th:block>

<!-- 我回访的 -->
<th:block th:fragment="myVisitQuery">
    <div class="layui-form-item">
        <!-- 回访时间 -->
        <div th:replace="~{common/listQueryItemTmpl :: timePickerMinNoItem('回访时间', 'replyVisitTime', true, ${startTime}, ${endTime}, ${minTime})}"></div>

        <div class="layui-input-inline inline-btn">
            <div th:replace="common/listQueryItemTmpl :: buttonForSearch"></div>
            <div th:replace="common/listQueryItemTmpl :: buttonForClean"></div>
        </div>
    </div>
</th:block>